<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增坐诊信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-zuozheng-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">医生姓名：</label>
                <div class="col-sm-8">
                    <input name="doctorName" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">医生性别：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="doctorSex" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}">-->
<!--                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">医生职称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="doctorZhicheng" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">科室名称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="keshiName" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">挂号金额：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="guahaoDoller" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">挂号数量：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="guahaoNum" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">坐诊时间：</label>
                <div class="col-sm-8">
                    <input name="zuozhengTime" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/zuozheng"
        $("#form-zuozheng-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-zuozheng-add').serialize());
            }
        }
    </script>
</body>
</html>